// EditorUIView.cpp : implementation of the CEditorUIView class
//

#include "stdafx.h"
#include "EditorUI.h"

#include "EditorUIDoc.h"
#include "EditorUIView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CEditorUIView

IMPLEMENT_DYNCREATE(CEditorUIView, CView)

BEGIN_MESSAGE_MAP(CEditorUIView, CView)
END_MESSAGE_MAP()

// CEditorUIView construction/destruction

CEditorUIView::CEditorUIView()
{
	// TODO: add construction code here

}

CEditorUIView::~CEditorUIView()
{
}

BOOL CEditorUIView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

// CEditorUIView drawing

void CEditorUIView::OnDraw(CDC* /*pDC*/)
{
	CEditorUIDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	if (!pDoc)
		return;

	// TODO: add draw code for native data here
}


// CEditorUIView diagnostics

#ifdef _DEBUG
void CEditorUIView::AssertValid() const
{
	CView::AssertValid();
}

void CEditorUIView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CEditorUIDoc* CEditorUIView::GetDocument() const // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CEditorUIDoc)));
	return (CEditorUIDoc*)m_pDocument;
}
#endif //_DEBUG


// CEditorUIView message handlers
